/*	最新信息专题切换list*/
		$(".breadcrumb li").on("click", function() {
			var form = $(this).attr("id"); // 获取点击元素的id
			$.ajax({
				url: "showEarliestFiveDataOrderByForm.do",
				data: {
					id: value,
					form: form,
					pageNo: 1
					
				},
				type: "post",
				success: function(data) {
					var obj = data.results;
					console.info(obj);
					var shtml = "";
					for(var i = 0; i < obj.length; i++) {
						if(obj[i].title == undefined) {
							obj[i].title = "";
							obj[i].source = "新浪微博";
						}

						shtml += "<div class=\"checkbox\"  style=\"margin-top: 6px;border-bottom: 2px dotted #C7C7C7;\">";
						shtml += "<label> <input type=\"checkbox\" name=\"checkbox\"  id=\"" + obj[i].id + "\" value=\"" + obj[i].form + "\">";
						shtml += "<a style=\"color: #0000FF; text-decoration: none;\">" + obj[i].title.substring(0, 15) + "</a></label>";
						shtml += "<h5 style=\"text-indent: 2em; color: #A94442\">" + obj[i].source + " </h5>";
						shtml += "<p style=\"margin-left: 20px;height:100px;overflow:hidden\">" + obj[i].content + "</p>";
						shtml += "<a target=_blank href=\"toContentpage.do?id=" + obj[i].id + "&form=" + obj[i].form + "\"><button  style=\"margin-left: 15px; background-color: #31708F;color: white;border: none;margin-bottom:10px;\">查看全文</button></a></div>";
					}
					$("#list").empty();
					$("#list").append(shtml);
				}
			});
			// 添加分页
			$.ajax({
			    url: "showEarliestFiveDataOrderByForm.do",
				type: "post",
				data: {
					id: value,
					form: form
				},
				success: function(data) {
					var count = data.totalPage; // 总页数
					var pg_total_count = count * count; //总记录数
					$("#ZTpagerArea").cypager({
						pg_size: count,
						pg_nav_count: count,
						pg_total_count: pg_total_count,
						pg_call_fun: function(count) {
							$.ajax({
								url: "showEarliestFiveDataOrderByForm.do",
								data: {
									id: value,
									form: form,
									pageNo:count,
									size: 10
								},
								type: "post",
								success: function(data) {
									var obj = data.results;
									console.info(obj);
									var shtml = "";
									for(var i = 0; i < obj.length; i++) {
										if(obj[i].title == undefined) {
											obj[i].title = "";
											obj[i].source = "新浪微博";
										}
										shtml += "<div class=\"checkbox\"  style=\"margin-top: 6px;border-bottom: 2px dotted #C7C7C7;\">";
										shtml += "<label> <input type=\"checkbox\" name=\"checkbox\"  id=\"" + obj[i].id + "\" value=\"" + obj[i].form + "\">";
										shtml += "<a style=\"color: #0000FF; text-decoration: none;\">" + obj[i].title.substring(0, 15) + "</a></label>";
										shtml += "<h5 style=\"text-indent: 2em; color: #A94442\">" + obj[i].source + " </h5>";
										shtml += "<p style=\"margin-left: 20px;height:100px;overflow:hidden\">" + obj[i].content + "</p>";
										shtml += "<a target=_blank href=\"toContentpage.do?id=" + obj[i].id + "&form=" + obj[i].form + "\"><button  style=\"margin-left: 15px; background-color: #31708F;color: white;border: none;margin-bottom:10px;\">查看全文</button></a></div>";
									}
									$("#list").empty();
									$("#list").append(shtml);
								}
							});

						}
					});

				}
			});
		});	 
		